<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>To view help messages</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
<script language="JavaScript" src="master.js"></script>
</head>

<body>

<h1>To view help messages
</h1>

	<ol>
	<li>In HTML Help Workshop on the <b>View</b> menu, click <b>HTML Help Messages</b>.
	<li>Open the application you are testing, and use context-sensitive help.
	<p>A message will appear for each API call that is sent in response to context-sensitive help.</p>
	<li>To save the messages in a text file, click <b>Save File</b> on the <b>File</b> menu in HTML Help Workshop.
	</li>
	</ol>
	
<h3>Example help message text</h3>

<code>
HH_TP_HELP_WM_HELP/HH_TP_HELP_CONTEXTMENU: Control id = 1035, Help id = 1000, File = htmlhelp.chm::/cxthelp/wintype.txt.<br>
HH_TP_HELP_WM_HELP/HH_TP_HELP_CONTEXTMENU: Control id = 1041, Help id = 1001, File = htmlhelp.chm::/cxthelp/wintype.txt.<br>
</code>
	
<h3>Notes</h3>

	<ul>
	<li>To see an example of context-sensitive help in HTML Help Workshop, do step one (above), and then: open a project (.hhp) file, click <a onclick="doSection(adm)" class=sidebar href="#nowhere"><b>Add/Modify Window Definitions</b></a>. If you have not defined any already, add a new window type. Click the question mark in the upper-right corner of the dialog box, and then click a control. Note the text that appears in the View Messages window.

	<DIV CLASS="sidebartext" ID="adm" STYLE="display: none; height: 72px; width: 300px"
	onclick="noSection(adm)">
<img src="sb_adm.gif" width=64 height=64 border=0 alt="">
	<P class=margin>			
	<b>Add/Modify Window Definitions</b>
	</P>
	<P class=margin2>			
	Adds or edits window definitions and the general appearance of the HTML Help Viewer.
	</P>
	</DIV>

	<li>When viewing help messages, you can <a href="helpmes3.htm">clear the message log at any time</a>.
	<li>This feature only displays help messages associated with the HTML Help API. Messages for interface elements such as the <b>OK</b> and <b>Cancel</b> buttons will not appear, since they are part of the Windows API.
	</li>
	</ul>

<table border="0" cellpadding="0" cellspacing="0">

<tr> <td valign="top"><a href="testovr.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="testovr.htm">About testing a help system</A>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</html>
